<%@page import="member.MemberVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Delete.jsp</title>

<script>
function getId(id){ return document.getElementById(id);}

function init(){
	getId("btnList").onclick = function(){
		location.href="index2.jsp?inc_center=./jsp/list.jsp";
	}
	
	getId("btnDelete").onclick = function(){
		frm.action="index2.jsp?inc_center=./jsp/delete_result.jsp";
		frm.submit();
	}
}
</script>
</head>
<body>
<jsp:useBean id="bean" class="member.Login"/>
<jsp:setProperty property="*" name="bean"/>


<h1>회원 삭제(탈퇴)</h1>
<form name="frm" method="post" action="">
	<ul id="bean">
		<li>아이디 : <input type="text" name="mid" value="<%=bean.getMemberid()%>" readonly/>
		<li>암&emsp;호 : <input type="text" name="pwd" value=""/> 
	</ul>
</form>

<input type="button" value="삭제" id="btnDelete">
<input type="button" value="목록" id="btnList">



<script>
init();
</script>
</body>
</html>